<?php
/**
 *  
 *  @author  wangzhoudong  <admin@zhen.pl>
 *  @version    1.0
 *
 */
Yii::app ()->clientScript->registerCssFile ( "/static/css/core.css");
Yii::app ()->clientScript->registerScriptFile ( "/static/js/core.js", CClientScript::POS_END );
Yii::app ()->clientScript->registerScriptFile ( "/static/js/dialog.js", CClientScript::POS_END );
Yii::app()->clientScript->registerScriptFile("/static/js/area/select.js", CClientScript::POS_END);
Yii::app()->clientScript->registerScriptFile("/static/js/dict/area.js", CClientScript::POS_END);
$funcStr = '';
if($func) {
	$funcStr = "$func(obj)";
}
Yii::app()->clientScript->registerScript('area_select#' . $id,
			"$('#{$jqueryId}_wrapp').pLocationSelect({sDefaultIds: '$fids', name: '$name',sHiddenId:'$id'});");
?>
<div class="p-location-select g-clear" id="<?php echo $id?>_wrapp">
</div>

